package csu.edu.flatprogram.service;

import csu.edu.flatprogram.common.CommonResponse;
import csu.edu.flatprogram.entity.DonateGoods;
import csu.edu.flatprogram.entity.RaiseFund;
import csu.edu.flatprogram.vo.DonateGoodsVO;

import java.util.List;

public interface RaiseFundService {
    CommonResponse<List<RaiseFund>> getAllRaiseFundInformations();

    CommonResponse<RaiseFund> getRaiseFundById(String fundid);

    CommonResponse<RaiseFund> addRaiseFund(String fundid, String fundname, String funddetails);

    CommonResponse<RaiseFund> updateRaiseFund(String fundid, String fundname, String funddetails);

    CommonResponse<RaiseFund> insertRaisefund(RaiseFund raiseFund);

    CommonResponse<RaiseFund> updateRaisefund(RaiseFund raiseFund);

    CommonResponse<RaiseFund> deleteRaiseFund(String fundid);

    CommonResponse<List<DonateGoods>> getDonateGoodsByRaiseFundId(String fundid);

    CommonResponse<List<DonateGoodsVO>> getDonateGoodsVOByRaiseFundId(String fundid);

    CommonResponse<List<DonateGoodsVO>> getDonateGoods();

    CommonResponse<DonateGoodsVO> getDonateGoodById(int goodsid);

    CommonResponse<DonateGoods> addDonateGood(String userid, String fundid, String goodsplatform, String goodscategory, String goodsnumber, String goodsdescription);

    CommonResponse<DonateGoods> insertDonategoods(DonateGoods donateGoods);

    CommonResponse<DonateGoods> updateDonateGood(int goodsid, String userid, String fundid, String goodsplatform, String goodscategory, String goodsnumber, String goodsdescription);

    CommonResponse<DonateGoods> updateDonategoods(DonateGoods donateGoods);

    CommonResponse<DonateGoods> deleteDonateGoodById(int goodsdid);


}